package model

import "tianji-network/service/satellite/rpc/satellite"

func ModelConvertToProto(s *Satellite) *satellite.SatelliteOne {
	return &satellite.SatelliteOne{
		Id:        s.Id,
		Name:      s.Name,
		Status:    s.Status,
		Orbit:     s.Orbit,
		CosparId:  s.CosparId,
		LauchDate: s.LauchDate,
	}
}
